package org.hilo.boot.core.spring;

import org.springframework.beans.factory.config.BeanPostProcessor;

/**
 * BeanPostProcessor 的默认实现，作为控制bean初始化顺序的Adapter，
 * 详见我的文章《spring bean的初始化顺序》
 * 
 * @author zollty
 * @since 2018年5月25日
 */
abstract public class BeanPostAdapter implements BeanPostProcessor {

    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) {
        return bean;
    }
    
    @Override
    public Object postProcessAfterInitialization(Object bean, String beanName) {
        return bean;
    }
    
}
